﻿//============================================================
//write by bxl at 2021-06-18 11:03:27
//============================================================


using System;
using System.Collections.Generic;
using System.Text;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;

namespace BCEntity.CRM.BigCustomerDriver
{
    /// <summary>
    /// 大客户专属司机 数据模型
    /// </summary>
    [Table("crm_bigcustomerdriver")]
    public class BigCustomerDriverEntity
    {
        [Key]
        [DatabaseGenerated(DatabaseGeneratedOption.Identity)]
        /// <summary>
        /// 大客户专属司机Id
        /// </summary>
        public long BigCustomerDriverId { get; set; }

        /// <summary>
        /// 公司Id
        /// </summary>
        public int CompanyId { get; set; }

        /// <summary>
        /// 客户信息Id
        /// </summary>
        public long CustomerInfoId { get; set; }

        /// <summary>
        /// 大客户Id
        /// </summary>
        public long BigCustomerId { get; set; }

        /// <summary>
        /// 客户姓名
        /// </summary>
        public string CustomerUserName { get; set; }

        /// <summary>
        /// 司机信息Id
        /// </summary>
        public long DriverId { get; set; }

        /// <summary>
        /// 司机手机号
        /// </summary>
        public string DriverPhone { get; set; }

        /// <summary>
        /// 司机姓名
        /// </summary>
        public string DriverName { get; set; }

        /// <summary>
        /// 车型Id
        /// </summary>
        public int? VehicleTypeId { get; set; }

        /// <summary>
        /// 车型名称
        /// </summary>
        public string VehicleType { get; set; }

        /// <summary>
        /// 车辆种类Id
        /// </summary>
        public int? VehicleCategoryId { get; set; }

        /// <summary>
        /// 种类名称
        /// </summary>
        public string CategoryName { get; set; }

        /// <summary>
        /// 备注
        /// </summary>
        public string Remark { get; set; }

        /// <summary>
        /// 创建时间
        /// </summary>
        public DateTime CreateTime { get; set; }

        /// <summary>
        /// 创建人Id
        /// </summary>
        public long CreateAdminId { get; set; }

        /// <summary>
        /// 创建人
        /// </summary>
        public string CreateAdminName { get; set; }

        /// <summary>
        /// 更新时间
        /// </summary>
        public DateTime? UpdateTime { get; set; }

        /// <summary>
        /// 编辑人Id
        /// </summary>
        public long? EditAdminId { get; set; }

        /// <summary>
        /// 编辑人
        /// </summary>
        public string EditAdminName { get; set; }


    }
}
